package com.quanyue.music.file.type;

import com.quanyue.music.domain.constant.HotKey;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.time.LocalDateTime;

@Table
public class FMHotResult {
    @Column(name = "id")
    private String fmId;
    @Column(name = "start_time")
    private LocalDateTime startTime;
    @Column(name = "end_time")
    private LocalDateTime endTime;
    @Column(name = "total_count")
    private Long totalCount;
    @Transient
    private HotKey hotKey;

    public String getFmId() {
        return fmId;
    }

    public void setFmId(String fmId) {
        this.fmId = fmId;
    }

    public Long getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Long totalCount) {
        this.totalCount = totalCount;
    }

    public LocalDateTime getStartTime() {
        return startTime;
    }

    public void setStartTime(LocalDateTime startTime) {
        this.startTime = startTime;
    }

    public LocalDateTime getEndTime() {
        return endTime;
    }

    public void setEndTime(LocalDateTime endTime) {
        this.endTime = endTime;
    }

    public HotKey getHotKey() {
        return hotKey;
    }

    public void setHotKey(HotKey hotKey) {
        this.hotKey = hotKey;
    }
}
